import auth from '../api/auth';
import user from '../api/user';
import record from '../api/record';
import patient from '../api/patient';
import department from '../api/department';
import statistics from '../api/statistics';


import notify from '@/api/notify';

// 注入所有 api 模块到 Vue 实例
export default {
    install(app) {
        app.config.globalProperties.$api = {
            auth,
            user,
            record,
            department,
            patient,
            statistics,
            notify
        };
    }
};
